package com.ruoyi.project.crm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 联系人对象 linkman
 * 
 * @author ruoyi
 * @date 2020-06-18
 */
public class Linkman extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long linkmanId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String linkmanName;

    /** 手机 */
    @Excel(name = "手机")
    private String phone;

    /** 来源渠道 */
    @Excel(name = "来源渠道")
    private Long source;

    /** 创建人id */
    @Excel(name = "创建人id")
    private Long createUserid;

    public void setLinkmanId(Long linkmanId) 
    {
        this.linkmanId = linkmanId;
    }

    public Long getLinkmanId() 
    {
        return linkmanId;
    }
    public void setLinkmanName(String linkmanName) 
    {
        this.linkmanName = linkmanName;
    }

    public String getLinkmanName() 
    {
        return linkmanName;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setSource(Long source)
    {
        this.source = source;
    }

    public Long getSource()
    {
        return source;
    }
    public void setCreateUserid(Long createUserid) 
    {
        this.createUserid = createUserid;
    }

    public Long getCreateUserid()
    {
        return createUserid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("linkmanId", getLinkmanId())
            .append("linkmanName", getLinkmanName())
            .append("phone", getPhone())
            .append("source", getSource())
            .append("remark", getRemark())
            .append("createUserid", getCreateUserid())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
